package com.atguigu.gulimallflow.service.impl;

import org.springframework.stereotype.Service;
import java.util.Map;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import utils.PageUtils;
import utils.Query;
import com.atguigu.gulimallflow.dao.ActDeDatabasechangeloglockDao;
import com.atguigu.gulimallflow.entity.ActDeDatabasechangeloglockEntity;
import com.atguigu.gulimallflow.service.ActDeDatabasechangeloglockService;


@Service("actDeDatabasechangeloglockService")
public class ActDeDatabasechangeloglockServiceImpl extends ServiceImpl<ActDeDatabasechangeloglockDao, ActDeDatabasechangeloglockEntity> implements ActDeDatabasechangeloglockService {

    @Override
    public PageUtils queryPage(Map<String, Object> params) {
        IPage<ActDeDatabasechangeloglockEntity> page = this.page(
                new Query<ActDeDatabasechangeloglockEntity>().getPage(params),
                new QueryWrapper<ActDeDatabasechangeloglockEntity>()
        );

        return new PageUtils(page);
    }

}
